package com.openingedu.mba.persist;

import java.util.Date;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "oc_order")
public class DbOrder {

	@DatabaseField(generatedId = true)
	private Integer id;
	
	@DatabaseField
	private Integer orderDID;
	
	@DatabaseField
	private String orderID;
	
	@DatabaseField
	private Double orderPrice;
	
	@DatabaseField
	private Integer paperID;
	
	@DatabaseField
	private String paperTitle;
	
	@DatabaseField
	private Integer orderStatus;
	
	@DatabaseField
	private Date orderTime;
	
	@DatabaseField
	private Date completeTime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getOrderID() {
		return orderID;
	}

	public void setOrderID(String orderID) {
		this.orderID = orderID;
	}

	public Double getOrderPrice() {
		return orderPrice;
	}

	public void setOrderPrice(Double orderPrice) {
		this.orderPrice = orderPrice;
	}

	public Integer getPaperID() {
		return paperID;
	}

	public void setPaperID(Integer paperID) {
		this.paperID = paperID;
	}

	public String getPaperTitle() {
		return paperTitle;
	}

	public void setPaperTitle(String paperTitle) {
		this.paperTitle = paperTitle;
	}

	public Integer getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}

	public Date getOrderTime() {
		return orderTime;
	}

	public void setOrderTime(Date orderTime) {
		this.orderTime = orderTime;
	}

	public Date getCompleteTime() {
		return completeTime;
	}

	public void setCompleteTime(Date completeTime) {
		this.completeTime = completeTime;
	}

	public Integer getOrderDID() {
		return orderDID;
	}

	public void setOrderDID(Integer orderDID) {
		this.orderDID = orderDID;
	}
	
}
